package com.llt.lg;

import com.llt.lg.slice.MainAbilitySlice;
import com.llt.lg.slice.RouterDemoSlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;
import ohos.aafwk.content.Operation;

public class MainAbility extends FractionAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        addActionRoute(Intent.ACTION_QUERY_WEATHER,RouterDemoSlice.class.getName());
    }
}
